package com.xnyzc.lhy.statistics.service.search;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.statistics.entity.param.capacity.CapacityParam;
import com.xnyzc.lhy.statistics.entity.statistics.ActiveDriver;
import com.xnyzc.lhy.statistics.entity.statistics.DriveOut;

import java.util.List;
import java.util.Map;

/**
 * 运力搜索服务类
 *
 * @author cuixiaojian
 */
public interface CapacitySearchService {

    /**
     * 保存司机出车统计
     * @return Rv
     */
    Rv saveDriveOutCount();

    /**
     * 保存日活司机数
     */
    Rv saveActiveDriver();

    /**
     * 日活司机查询
     */
    List<Map<String, Object>> getActiveDriver(CapacityParam capacityParam);

    /**
     * 获取出车司机折线图
     * @return Rv
     */
    List<Map<String, Object>> getDriveOutLineChart(CapacityParam capacityParam);

}
